.search-category {
    background-color: #fff;
    padding: 10px 5px;
    position: fixed;
    top: 100px;
    left: -20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    width: 100px;
    text-align: left;
    margin-left:15%;
    margin-right: 20px;
    height:120px;
  }
  
  .search-category h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
  }
  
  .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .category-list li {
    height: 35px;
    margin: 5px 0;
    font-size: 16px;
    text-align: center; /* 水平居中 */
    color: #555;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    display: flex; /* 使用弹性盒布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

  .category-list li:hover {
    background-color: #d9dddfc2;
    border-radius: 5px;
    color: rgba(171, 198, 212, 1);
  }
  
  .category-list li.active {
    font-weight: bold;
    border-radius: 5px;
    background-color: rgb(150, 185, 202);
    color: white;
  }

  .mypage-category {
    background-color: #fff;
    padding: 10px 5px;
    position: fixed;
    top: 100px;
    left: -20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    width: 100px;
    text-align: left;
    margin-left:15%;
    margin-right: 20px;
    height:170px;
  }
